﻿
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using Microsoft.EntityFrameworkCore;
using Digitalmes.Model.WmsManagement;
using Digitalmes.Model;

namespace Digitalmes.ViewModel.WmsManagement.OutboundVMs
{
    public partial class OutboundBatchVM : BaseBatchVM<Outbound, Outbound_BatchEdit>
    {
        public OutboundBatchVM()
        {
            ListVM = new OutboundListVM();
            LinkedVM = new Outbound_BatchEdit();
        }

        public override bool DoBatchEdit()
        {
            
            return base.DoBatchEdit();
        }
    }

	/// <summary>
    /// Class to define batch edit fields
    /// </summary>
    public class Outbound_BatchEdit : BaseVM
    {

        
        [Display(Name = "_Model._Outbound._SheetId")]
        public string SheetId { get; set; }
        [Display(Name = "_Model._Outbound._SheetNo")]
        public string SheetNo { get; set; }
        [Display(Name = "_Model._Outbound._OutMode")]
        public InOutEnum? OutMode { get; set; }
        [Display(Name = "_Model._Outbound._Wo")]
        public string Wo { get; set; }
        [Display(Name = "_Model._Outbound._Sn")]
        public string Sn { get; set; }
        [Display(Name = "_Model._Outbound._Material")]
        public long? MaterialId { get; set; }
        [Display(Name = "_Model._Outbound._StoreQty")]
        public decimal? StoreQty { get; set; }
        [Display(Name = "_Model._Outbound._OutQty")]
        public decimal? OutQty { get; set; }
        [Display(Name = "_Model._Outbound._OutOperator")]
        public string OutOperator { get; set; }
        [Display(Name = "_Model._Outbound._OutboundDate")]
        public DateTime? OutboundDate { get; set; }

        protected override void InitVM()
        {
           
        }
    }

}